import React from "react";
type Props = {
  className?: string;
  style?: React.CSSProperties;
};

const FCSpreadAttributes: React.FC<Props> = (props: any) => {
  const { children, ...restProps } = props;
  console.log({ children, ...restProps });
  return <div {...restProps}>{children}</div>;
};

export default FCSpreadAttributes;
